<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>供货商管理</title>
    <link href="css/examples-offline.css" rel="stylesheet">
</head>
<body>
<input type="button" value="添加新供货商" onclick="window.location.href='?act=supplier.create_supplier_show'"/>
<input type="button" value="导出供货商列表" onclick="window.location.href='?act=supplier.export_supplier'"/>
<table class="common">
<tr>
<th>供货商编号</th>
<th>供货商</th>
<th>联系人</th>
<th>联系电话</th>
<th>地址</th>
<th>备注</th>
</tr>
{foreach from=$supplier_list item=supplier}
<tr>
<td>{$supplier.sp_id}</td>
<td>{$supplier.sp_name}</td>
<td>{$supplier.sp_linkman}</td>
<td>{$supplier.sp_tel}</td>
<td>{$supplier.sp_addr}</td>
<td>{$supplier.sp_note}</td>
</tr>
{/foreach}
</table>
<body>

</body>
</html>